package com.xjgc.eip.panel.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhanghongbin
 * @since 2019-11-28
 */
public class ZxjEipScdd implements Serializable {

private static final long serialVersionUID=1L;

/**
 * 采购方总部编码，国家电网：sgcc
 */
private String purchaserHqCode;

/**
 * 订单类型
 */
private String ipoType;

/**
 * 供应商编码
 */
private String supplierCode;

/**
 * 生产订单号
 */
private String ipoNo;

/**
 * 品类编码
 */
private String categoryCode;

/**
 * 种类编码
 */
private String subclassCode;

/**
 * 生产订单采购订单关联方式 1.关联到销售订单。 2.关联到销售订单行项目
 */
private Integer ipoRelType;

/**
 * 销售订单号或销售订单行目号
 */
private String soNo;

/**
 * 厂家物料编码
 */
private String materialsCode;

/**
 * 厂家物料名称
 */
private String materialsName;

/**
 * 厂家物资单位
 */
private String materialsUnit;

/**
 * 厂家物料描述
 */
private String materialsDesc;

/**
 * 生产数量
 */
private String amount;

/**
 * 计量单位
 */
private String unit;

/**
 * 物资id分组
 */
private String productIdGrpNo;

/**
 * 物资id类型，采购方侧，如国网侧
 */
private String productIdType;

/**
 * 产品型号，供应方侧
 */
private String productModel;

/**
 * 计划开始时间
 */
private String planStartDate;

/**
 * 计划完成日期
 */
private String planFinishDate;

/**
 * 实际开始时间
 */
private String actualStartDate;

/**
 * 实际完成日期
 */
private String actualFinishDate;

/**
 * 生产工厂id
 */
private String plantId;

/**
 * 生产订单编码
 */
private String plantCode;

/**
 * 生产工厂名称
 */
private String plantName;

/**
 * 生产车间id
 */
private String workShopId;

/**
 * 生产车间名称
 */
private String workShopName;

/**
 * 生产订单状态
 */
private String ipoStatus;

/**
 * 生产中心
 */
private String center;

/**
 * 工艺路线编码
 */
private String processRouteNo;

/**
 * 工艺路线
 */
private String processRoute;

/**
 * 数据来源
 */
private String dataSource;

/**
 * 来源数据创建时间
 */
private String dataSourceCreateTime;

/**
 * 逻辑删除，1.是，0，否
 */
private String isDeleted;

/**
 * 1：未读（默认状态）
0：成功；
10001:XXX字段不能为空
10002:XXX字段超长
10003:XXX字段格式不正确
10004:XXX字段数值不正确
20001:找不到对应的采购订单号
20002:找不到对应的销售订单号
20003:找不到对应的生产订单号
20004:找不到对应的工单订单号
20005:找不到对应的供应商编号
20006:重复推送数据
90001:系统超时
90003:系统异常
 */
private String ioflag;

/**
 * 错误信息，接口同步返回消息
 */
private String message;

/**
 * 本条数据值新增/更新，0：新增，1：更新
 */
private String status;

/**
 * 全局交易流水号
 */
private String transno;

/**
 * 数据拥有方
 */
private String ownerId;

/**
 * 数据可见方
 */
private String openId;

private String workShopCode;

@TableId(type = IdType.AUTO)
private Integer orderId;

/**
 * 产品型号规格
 */
private String modelSpec;

/**
 * 是否监造标志，0：否，1：是
 */
private String supervisionFlag;
private Date pushTime;


public String getPurchaserHqCode() {
    return purchaserHqCode;
    }

public void setPurchaserHqCode(String purchaserHqCode) {
    this.purchaserHqCode = purchaserHqCode;
    }

public String getIpoType() {
    return ipoType;
    }

public void setIpoType(String ipoType) {
    this.ipoType = ipoType;
    }

public String getSupplierCode() {
    return supplierCode;
    }

public void setSupplierCode(String supplierCode) {
    this.supplierCode = supplierCode;
    }

public String getIpoNo() {
    return ipoNo;
    }

public void setIpoNo(String ipoNo) {
    this.ipoNo = ipoNo;
    }

public String getCategoryCode() {
    return categoryCode;
    }

public void setCategoryCode(String categoryCode) {
    this.categoryCode = categoryCode;
    }

public String getSubclassCode() {
    return subclassCode;
    }

public void setSubclassCode(String subclassCode) {
    this.subclassCode = subclassCode;
    }

public Integer getIpoRelType() {
    return ipoRelType;
    }

public void setIpoRelType(Integer ipoRelType) {
    this.ipoRelType = ipoRelType;
    }

public String getSoNo() {
    return soNo;
    }

public void setSoNo(String soNo) {
    this.soNo = soNo;
    }

public String getMaterialsCode() {
    return materialsCode;
    }

public void setMaterialsCode(String materialsCode) {
    this.materialsCode = materialsCode;
    }

public String getMaterialsName() {
    return materialsName;
    }

public void setMaterialsName(String materialsName) {
    this.materialsName = materialsName;
    }

public String getMaterialsUnit() {
    return materialsUnit;
    }

public void setMaterialsUnit(String materialsUnit) {
    this.materialsUnit = materialsUnit;
    }

public String getMaterialsDesc() {
    return materialsDesc;
    }

public void setMaterialsDesc(String materialsDesc) {
    this.materialsDesc = materialsDesc;
    }

public String getAmount() {
    return amount;
    }

public void setAmount(String amount) {
    this.amount = amount;
    }

public String getUnit() {
    return unit;
    }

public void setUnit(String unit) {
    this.unit = unit;
    }

public String getProductIdGrpNo() {
    return productIdGrpNo;
    }

public void setProductIdGrpNo(String productIdGrpNo) {
    this.productIdGrpNo = productIdGrpNo;
    }

public String getProductIdType() {
    return productIdType;
    }

public void setProductIdType(String productIdType) {
    this.productIdType = productIdType;
    }

public String getProductModel() {
    return productModel;
    }

public void setProductModel(String productModel) {
    this.productModel = productModel;
    }

public String getPlanStartDate() {
    return planStartDate;
    }

public void setPlanStartDate(String planStartDate) {
    this.planStartDate = planStartDate;
    }

public String getPlanFinishDate() {
    return planFinishDate;
    }

public void setPlanFinishDate(String planFinishDate) {
    this.planFinishDate = planFinishDate;
    }

public String getActualStartDate() {
    return actualStartDate;
    }

public void setActualStartDate(String actualStartDate) {
    this.actualStartDate = actualStartDate;
    }

public String getActualFinishDate() {
    return actualFinishDate;
    }

public void setActualFinishDate(String actualFinishDate) {
    this.actualFinishDate = actualFinishDate;
    }

public String getPlantId() {
    return plantId;
    }

public void setPlantId(String plantId) {
    this.plantId = plantId;
    }

public String getPlantCode() {
    return plantCode;
    }

public void setPlantCode(String plantCode) {
    this.plantCode = plantCode;
    }

public String getPlantName() {
    return plantName;
    }

public void setPlantName(String plantName) {
    this.plantName = plantName;
    }

public String getWorkShopId() {
    return workShopId;
    }

public void setWorkShopId(String workShopId) {
    this.workShopId = workShopId;
    }

public String getWorkShopName() {
    return workShopName;
    }

public void setWorkShopName(String workShopName) {
    this.workShopName = workShopName;
    }

public String getIpoStatus() {
    return ipoStatus;
    }

public void setIpoStatus(String ipoStatus) {
    this.ipoStatus = ipoStatus;
    }

public String getCenter() {
    return center;
    }

public void setCenter(String center) {
    this.center = center;
    }

public String getProcessRouteNo() {
    return processRouteNo;
    }

public void setProcessRouteNo(String processRouteNo) {
    this.processRouteNo = processRouteNo;
    }

public String getProcessRoute() {
    return processRoute;
    }

public void setProcessRoute(String processRoute) {
    this.processRoute = processRoute;
    }

public String getDataSource() {
    return dataSource;
    }

public void setDataSource(String dataSource) {
    this.dataSource = dataSource;
    }

public String getDataSourceCreateTime() {
    return dataSourceCreateTime;
    }

public void setDataSourceCreateTime(String dataSourceCreateTime) {
    this.dataSourceCreateTime = dataSourceCreateTime;
    }

public String getIsDeleted() {
    return isDeleted;
    }

public void setIsDeleted(String isDeleted) {
    this.isDeleted = isDeleted;
    }

public String getIoflag() {
    return ioflag;
    }

public void setIoflag(String ioflag) {
    this.ioflag = ioflag;
    }

public String getMessage() {
    return message;
    }

public void setMessage(String message) {
    this.message = message;
    }

public String getStatus() {
    return status;
    }

public void setStatus(String status) {
    this.status = status;
    }

public String getTransno() {
    return transno;
    }

public void setTransno(String transno) {
    this.transno = transno;
    }

public String getOwnerId() {
    return ownerId;
    }

public void setOwnerId(String ownerId) {
    this.ownerId = ownerId;
    }

public String getOpenId() {
    return openId;
    }

public void setOpenId(String openId) {
    this.openId = openId;
    }

public String getWorkShopCode() {
    return workShopCode;
    }

public void setWorkShopCode(String workShopCode) {
    this.workShopCode = workShopCode;
    }

public Integer getOrderId() {
    return orderId;
    }

public void setOrderId(Integer orderId) {
    this.orderId = orderId;
    }

public String getModelSpec() {
    return modelSpec;
    }

public void setModelSpec(String modelSpec) {
    this.modelSpec = modelSpec;
    }

public String getSupervisionFlag() {
    return supervisionFlag;
    }

public void setSupervisionFlag(String supervisionFlag) {
    this.supervisionFlag = supervisionFlag;
    }

    public Date getPushTime() {
        return pushTime;
    }

    public void setPushTime(Date pushTime) {
        this.pushTime = pushTime;
    }

    @Override
public String toString() {
return "ZxjEipScdd{" +
        "purchaserHqCode=" + purchaserHqCode +
        ", ipoType=" + ipoType +
        ", supplierCode=" + supplierCode +
        ", ipoNo=" + ipoNo +
        ", categoryCode=" + categoryCode +
        ", subclassCode=" + subclassCode +
        ", ipoRelType=" + ipoRelType +
        ", soNo=" + soNo +
        ", materialsCode=" + materialsCode +
        ", materialsName=" + materialsName +
        ", materialsUnit=" + materialsUnit +
        ", materialsDesc=" + materialsDesc +
        ", amount=" + amount +
        ", unit=" + unit +
        ", productIdGrpNo=" + productIdGrpNo +
        ", productIdType=" + productIdType +
        ", productModel=" + productModel +
        ", planStartDate=" + planStartDate +
        ", planFinishDate=" + planFinishDate +
        ", actualStartDate=" + actualStartDate +
        ", actualFinishDate=" + actualFinishDate +
        ", plantId=" + plantId +
        ", plantCode=" + plantCode +
        ", plantName=" + plantName +
        ", workShopId=" + workShopId +
        ", workShopName=" + workShopName +
        ", ipoStatus=" + ipoStatus +
        ", center=" + center +
        ", processRouteNo=" + processRouteNo +
        ", processRoute=" + processRoute +
        ", dataSource=" + dataSource +
        ", dataSourceCreateTime=" + dataSourceCreateTime +
        ", isDeleted=" + isDeleted +
        ", ioflag=" + ioflag +
        ", message=" + message +
        ", status=" + status +
        ", transno=" + transno +
        ", ownerId=" + ownerId +
        ", openId=" + openId +
        ", workShopCode=" + workShopCode +
        ", orderId=" + orderId +
        ", modelSpec=" + modelSpec +
        ", supervisionFlag=" + supervisionFlag +
"}";
}
}
